package com.mingqijia.gassafety.webserver.dto;

import com.mingqijia.gassafety.db.entity.DeviceState;
import com.mingqijia.gassafety.db.entity.Dtu;
import com.mingqijia.gassafety.db.entity.ReceiverValve;
import com.mingqijia.gassafety.webserver.request.BrowserNotifyReason;
import lombok.Data;

/**
 * @program: gassafety
 * @description: 设备开关机 消息推送
 * @author: Mr.Wang
 * @create: 2022-09-02 15:14
 **/
@Data
public class ReportNotifyOfflineDTO {
    //是否 开关机
    private Boolean change;
    // 上报后设备状态
    private DeviceState prepareDeviceState;
    private Dtu dtu;
    //推送原因
    private BrowserNotifyReason reason;
    //连接器和电磁阀最新状态
    private ReceiverValve receiverValve;
}
